#!/bin/sh
shm=`ipcs -m | grep $USER | awk '{print$2}'`
for m in $shm; do
 ipcrm -m $m
done
